package com.alkaid.anime.mapper;

import com.alkaid.commons.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Kylin
 */
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {

    /**
     * Find comments list.
     *
     * @param animeId the anime id
     * @return the list
     */
    List<Comment> findComments(Integer animeId);
}
